
import copy


UNUSAL_REPLACE = [(' ', '_'), ('(', ''), (')', ''), ('-', '_'), ('.', '_')]

def replace_id(str):
    _str = copy.deepcopy(str)
    for pattern in UNUSAL_REPLACE:
        _str = _str.replace(pattern[0], pattern[1])
    return _str
